<template>
  <div>
    <div class="header">
      <div class="header-top-nav">
        <div class="container clearfix">
          <ul class="nav float-left nav-left">
            <li>
              <router-link to="/login">
                <a href="javascript:;">登录</a>
              </router-link>
            </li>
            <li><a href="#">免费注册</a></li>
            <li><a href="#">帮助中心</a></li>
          </ul>

          <ul class="nav float-right nav-right">
            <li><a href="#">关于叮当</a></li>
            <li><a href="#">叮当新闻</a></li>
            <li>
              <a href="#"><i class="el-icon-star-off"></i> 加入收藏</a>
            </li>
            <li>
              <a href="#"><i class="el-icon-phone-outline"></i> 4009007186</a>
            </li>
          </ul>
        </div>
      </div>

      <div class="header-nav">
        <div class="container clearfix">
          <router-link to="/" tag="span">
            <a href="#" class="logo float-left">
              <img src="@/assets/logo.png" />
            </a>
          </router-link>
          <img
            src="@/assets/logo-text.png"
            style="width: 100px; height: 42px; transform: translate(15px, 21px)"
          />

          <ul class="nav float-right">
            <li>
              <router-link to="/">
                <a href="#">首页</a>
              </router-link>
            </li>
            <li><a href="#">叮当商城</a></li>
            <li>
              <router-link to="/bidding_page">
                <a class="active" href="#">电子招标</a>
              </router-link>
            </li>
            <li><a href="#">金融中心</a></li>
            <li><a href="#">数据中心</a></li>
            <li><a href="#">数据仓储</a></li>

            <li class="service">
              <a href="#"><i class="el-icon-headset"></i> 在线客服</a>
            </li>
            <li class="mobile">
              <a href="#"><i class="el-icon-mobile"></i> 手机叮当</a>
            </li>
          </ul>
        </div>
      </div>
    </div>

    <div class="banner"></div>
    <div class="slide"><img src="@/assets/home/slide.png" alt="" /></div>
    <div class="section"><img src="@/assets/home/b1.png" alt="" /></div>
    <div class="section"><img src="@/assets/home/b2.png" alt="" /></div>
    <div class="section"><img src="@/assets/home/b3.png" alt="" /></div>
    <div class="section"><img src="@/assets/home/b4.png" alt="" /></div>
    <div class="section"><img src="@/assets/home/footer.jpg" alt="" /></div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
@import "./home.scss";

.banner {
  width: 100%;
  height: 600px;
  background: url(../../assets/home/banner-bid.png) no-repeat center;
  background-size: cover;
}

.section {
  img {
    max-width: 100%;
    display: block;
  }
}
.slide {
  height: 150px;
  position: relative;
  img {
    position: absolute;
    left: 50%;
    top: -100px;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
}
</style>